package com.subaiwang.pojo;

import java.util.ArrayList;
import java.util.List;

public class Pages {
    //页码
    private int pageNo;
    //每页显示的数量
    private int pageSize=10;
    //总页码
    private int pageTotal;
    //总页数
    private int pageCount;
    //集合
    private List<Plastic> plasticList=new ArrayList<Plastic>();
    private List<OfficialWebsite> officialWebsitesList=new ArrayList<OfficialWebsite>();
    private List<OfficialContent> officialContentList=new ArrayList<OfficialContent>();
    private List<OfficialType> officialTypeList=new ArrayList<OfficialType>();
    private List<Picture> pictureList=new ArrayList<Picture>();
    private List<ToolPlatform> toolPlatformList=new ArrayList<ToolPlatform>();
    private List<Video> videoList=new ArrayList<Video>();


    public Pages() {
        super();
    }

    public int getPageNo() {
        return pageNo;
    }
    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }
    public int getPageSize() {
        return pageSize;
    }
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
    public int getPageTotal() {
        return pageTotal;
    }
    public void setPageTotal(int pageTotal) {
        this.pageTotal = pageTotal;
    }
    public int getPageCount() {
        return pageCount;
    }
    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
        if(this.pageCount%this.pageSize==0){
            this.pageTotal=this.pageCount/this.pageSize;
        }else{
            this.pageTotal=this.pageCount/this.pageSize+1;
        }
    }
    public List<Plastic> getPlasticList() {
        return plasticList;
    }
    public void setPlasticList(List<Plastic> plasticList) {
        this.plasticList = plasticList;
    }
    public List<OfficialWebsite> getOfficialWebsitesList() {
        return officialWebsitesList;
    }
    public void setOfficialWebsitesList(List<OfficialWebsite> officialWebsitesList) {
        this.officialWebsitesList = officialWebsitesList;
    }
    public List<OfficialType> getOfficialTypeList() {
        return officialTypeList;
    }
    public void setOfficialTypeList(List<OfficialType> officialTypeList) {
        this.officialTypeList = officialTypeList;
    }

    public List<OfficialContent> getOfficialContentList() {
        return officialContentList;
    }
    public void setOfficialContentList(List<OfficialContent> officialContentList) {
        this.officialContentList = officialContentList;
    }

    public List<Picture> getPictureList() {
        return pictureList;
    }
    public void setPictureList(List<Picture> pictureList) {
        this.pictureList = pictureList;
    }

    public List<ToolPlatform> getToolPlatformList() {
        return toolPlatformList;
    }
    public void setToolPlatformList(List<ToolPlatform> toolPlatformList) {
        this.toolPlatformList = toolPlatformList;
    }

    public List<Video> getVideoList() {
        return videoList;
    }
    public void setVideoList(List<Video> videoList) {
        this.videoList = videoList;
    }
}
